<template>
  <div>
      <h3>hook函数混用</h3>
      <p><span @click="reduce">------</span>|||{{count}}||<span @click="add">++++++++</span></p>
  </div>

  
</template>

<script lang='ts'>
import useCount from '@/hooks/useCount'

export default {
   setup(){
       return {
           ...useCount()
       }
   }
}
</script>

<style>

</style>